package com.gpframework.module.order.service.impl;

import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gpframework.module.order.mapper.GpForwardLogDetailMapper;
import com.gpframework.module.order.domain.GpForwardLogDetail;
import com.gpframework.module.order.domain.vo.GpForwardLogDetailVo;
import com.gpframework.module.order.service.IGpForwardLogDetailService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import java.util.List;
/**
 * @ClassName GpForwardLogDetail
 * @Author gpframework
 * @Date 2023-08-29
 * @Version 1.0.0
 * @Description 转发记录详情Service业务层处理
 */
@Service
public class GpForwardLogDetailServiceImpl extends ServiceImpl<GpForwardLogDetailMapper, GpForwardLogDetail> implements IGpForwardLogDetailService {

    /**
     * @Description 查询列表返回VO 用于返回给前端的列表接口
     * @Author gpframework
     * @Date 2023-08-29
     * @Param [lqw]
     * @Return List<GpForwardLogDetailVo>
     */
    @Override
    public List<GpForwardLogDetailVo> listVo(QueryWrapper<GpForwardLogDetail> lqw) {
        return this.baseMapper.listVo(lqw);
    }

    /**
     * @Description 通过查询详情VO 用于返回给前端的列详情接口
     * @Author gpframework
     * @Date 2023-08-29
     * @Param [id]
     * @Return GpForwardLogDetailVo
     */
    @Override
    public GpForwardLogDetailVo getVoById(Long id) {
        return this.baseMapper.getVo(id);
    }
}
